<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=0">
    <link rel="shortcut icon" type="image/x-icon" href="{{URL::asset('root\img/book.ico')}}">
    <title>天天书屋后台管理系统</title>
    <link href="{{URL::asset('root\css/bootstrap.min.css')}}" rel="stylesheet" type="text/css" />
    <link href="{{URL::asset('root\css/font-awesome.min.css')}}" rel="stylesheet" type="text/css" /> 
    <link href="{{URL::asset('root\css/select2.min.css')}}" rel="stylesheet" type="text/css" />
    <link href="{{URL::asset('root\css/dataTables.bootstrap4.min.css')}}" rel="stylesheet" type="text/css" />
    <link href="{{URL::asset('root\css/bootstrap-datetimepicker.min.css')}}" rel="stylesheet" type="text/css" />
    <link href="{{URL::asset('root\css/style.css')}}" rel="stylesheet" type="text/css" />
    <link href="{{URL::asset('root\fonts/fontawesome-webfont.eot')}}" rel="stylesheet"  />
    <link href="{{URL::asset('root\fonts/fontawesome-webfont.svg')}}" rel="stylesheet"  /> 
    <!--[if lt IE 9]>
		<script src="{{URL::asset('root\js/html5shiv.min.js')}}"></script>
		<script src="{{URL::asset('root\js/respond.min.js')}}"></script>
	  <![endif]-->
    <style>
  .bjactive {
    color: #009efb;
    text-decoration: underline;
  }
</style>
</head>

<body>
    <div class="main-wrapper">
      <!-- 头部 -->
      <div class="header">
        <div class="header-left">
          <a href="#" class="logo">
            <img src="{{URL::asset('root\img/书籍.png')}}" width="35" height="35" alt=""> <span>天天书屋后台管理系统</span>
          </a>
        </div>
      <a id="toggle_btn" href="javascript:void(0);"><i class="fa fa-bars"></i></a>
      <a id="mobile_btn" class="mobile_btn float-left" href="#sidebar"><i class="fa fa-bars"></i></a>
      <ul class="nav user-menu float-right">
      <li class="nav-item dropdown has-arrow">
        <!-- style="background-color:transparent;" -->
          <a href="#" class="dropdown-toggle nav-link user-link" data-toggle="dropdown" >
                <span class="user-img"><img class="rounded-circle" src="{{URL::asset('root\img/user.jpg')}}" width="40" alt="Admin">
					<span class="status online"></span></span>
                    <span>{{session()->get('name')}}</span>
          </a>
			<div class="dropdown-menu">
						<!-- <a class="dropdown-item" href="profile.html">My Profile</a> -->
            <a class="dropdown-item" href="{{url('home/index')}}">返回前台页面</a>
						<a class="dropdown-item" href="{{url('admin/pass')}}">修改密码<span style="color:#009efb;font-weight: bold;">(开发中)</span></a>
						<a class="dropdown-item" href="{{url('admin/quit')}}">退出系统</a>
			</div>
      </li>
      </ul>
    </div>
      
      <!-- 侧边导航栏 -->
      <div class="sidebar" id="sidebar">
          <div class="sidebar-inner slimscroll">
              <div id="sidebar-menu" class="sidebar-menu">
                  <ul>
                      <li class="submenu"> 
                      <a href="#"><i class="fa fa-columns"></i> <span> 目录</span> </a>
                      </li>

                      <li class="submenu">
                      <a href="#"><i class="fa fa-book"></i> <span> 商品管理</span> <span class="menu-arrow"></span></a>
                        <ul style="display: none;">
                          @yield('bjshopym')
                          @yield('zjshopym')
                          @yield('xgshopym')
                        </ul>
                      </li>

                      <li class="submenu">
                      <a href="#"><i class="fa fa-calendar-check-o"></i> <span> 类别管理</span> <span class="menu-arrow"></span></a>
                        <ul style="display: none;">                       
                          @yield('bjleibie')
                          @yield('zjleibie')
                          @yield('xgleibie')
                        </ul>
                      </li>


                        @yield('bjvip')
                        @yield('xgvip')
                                        
                        @yield('bjdingdan')
                        @yield('xgdingdan')
                        
                      <li class="submenu">
                      <a href="#"><i class="fa fa-edit"></i> <span> 公告管理</span> <span class="menu-arrow"></span></a>
                        <ul style="display: none;">
                          @yield('bjgonggao')
                          @yield('zjgonggao')
                          @yield('xggonggao')
                        </ul>
                      </li>  

                  </ul>
                </div>
            </div>
       </div>
      </div>
    <div class="page-wrapper"> 
    <!-- 非公共部分 -->
    @yield('page-wrapper')
    </div>
    <div class="sidebar-overlay" data-reff=""></div>
    <script src="{{URL::asset('root\js/jquery-3.2.1.min.js')}}"></script>
    <script src="{{URL::asset('root\js/popper.min.js')}}"></script>
    <script src="{{URL::asset('root\js/bootstrap.min.js')}}"></script>
    <script src="{{URL::asset('root\js/jquery.slimscroll.js')}}"></script>
    <script src="{{URL::asset('root\js/select2.min.js')}}"></script>
    <script src="{{URL::asset('root\js/jquery.dataTables.min.js')}}"></script>
    <script src="{{URL::asset('root\js/dataTables.bootstrap4.min.js')}}"></script>
    <script src="{{URL::asset('root\js/moment.min.js')}}"></script>
    <script src="{{URL::asset('root\js/bootstrap-datetimepicker.min.js')}}"></script>
    <script src="{{URL::asset('root\js/app.js')}}"></script>
 
    </body>

</html>